package com.tjf.configplugin;

/**
 * @author: tjf
 * @date: 2022-12-06
 * @desc： 依赖使用的库
 */
public class BuildDeps {
    //各个库的当前版本号
    public static class Versions {
        public static String appcompatx = "1.2.0";

    }

    //AndroidX
    public static String appcompat = "androidx.appcompat:appcompat:1.2.0";
    public static String constraintLayout = "androidx.constraintlayout:constraintlayout:2.0.4";
    public static String coreKtx = "androidx.core:core-ktx:1.3.2";
    public static String material = "com.google.android.material:material:1.4.0";
    public static String junittest = "androidx.test.ext:junit:1.1.2";
    public static String swiperefreshlayout = "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0";
    public static String recyclerviewx = "androidx.recyclerview:recyclerview:1.2.1";
    public static String cardviewx = "androidx.cardview:cardview:1.0.0";


    // ================================ System Dependencies ================================
    public static String appcompat_v7 = "com.android.support:appcompat-v7:28.0.0";
    public static String constraint_layout = "com.android.support.constraint:constraint-layout:1.1.3";
    public static String junit = "junit:junit:4.12";
    public static String runner = "com.android.support.test:runner:1.0.2";
    public static String espresso_core = "com.android.support.test.espresso:espresso-core:3.0.2";

    // =============================== Developer Dependencies ==============================

    // Butterknife
    public static String butterknife = "com.jakewharton:butterknife:10.2.1"; // 主Library只添加一次
    public static String butterknife_compiler = "com.jakewharton:butterknife-compiler:10.2.1"; // 需要使用的Model须添加该依赖

    //room 数据库
    public static String room_runtime = "androidx.room:room-runtime:2.4.2";
    public static String room_compiler = "androidx.room:room-compiler:2.4.2";


    // 展示数据 3.0.7 的adapter 这个的使用recyclerview必须大于等于1.2.0-alpha02
    public static String baseRecyclerViewAdapterHelper = "com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.7";


    // 今日头条屏幕适配方案 https://www.wanandroid.com/blog/show/2343
    public static String autoSize = "me.jessyan:autosize:0.9.1";

    // Zxing 二维码扫描、生成
    public static String zxingCore = "com.google.zxing:core:3.3.3";

    // Gson解析
    public static String gson = "com.google.code.gson:gson:2.8.5";

    // OkHttp
    // 目前的版本(OkHttp_4.8.0)最低支持到 Android 5.0+ (API level 21+) 和 Java 8+.
    // OkHttp_3.12.x 分支支持 Android 2.3+ (API level 9+) 和 Java 7+.
    public static String okhttp = "com.squareup.okhttp3:okhttp:3.12.12"; // 3.12.X 中最后的版本，为兼容Android 4.X系统
//                                     com.squareup.okhttp3:okhttp:3.4.1

    // RecyclerView
    public static String recyclerview = "com.android.support:recyclerview-v7:28.0.0";

    // Mqtt
    public static String mqttService = "org.eclipse.paho:org.eclipse.paho.android.service:1.1.1";
    public static String mqttv3 = "org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.0";

    // EventBus
    public static String eventbus = "org.greenrobot:eventbus:3.1.1";

    // Cardview
    public static String cardview = "com.android.support:cardview-v7:28.0.0";

    // Gif动态图片库
    public static String gifView = "com.github.Cutta:GifView:1.4";
    // 悬浮窗框架：https://github.com/getActivity/XToast
    public static String XToast = "com.github.getActivity:XToast:6.9";
    // Glide图片加载
    public static String glide = "com.github.bumptech.glide:glide:4.9.0";
    //mmkv  易用的移动键值存储框架
    public static String mmkv = "com.tencent:mmkv-static:1.0.19";

}
